package com.nbsaas.sample.entity.common;


import lombok.Data;
import org.hibernate.annotations.Comment;

import javax.persistence.MappedSuperclass;
import java.io.Serializable;
import java.util.Date;


@Data
@MappedSuperclass
public abstract class AbstractEntity extends LongEntity implements Serializable {


    /**
     * 添加时间
     */
    @Comment("添加时间")
    private Date addDate;

    /**
     * 最新修改时间
     */
    @Comment("最新修改时间")
    private Date lastDate;


}
